/**
 * 
 */
package com.qolome.convert;

import com.qolome.dao.model.User;
import com.qolome.dto.request.UserDtoCreateRequest;
import com.qolome.utils.SpringUtil;

/**
 * @Description: 用户侧转换类
 * @author 姜锋
 * @date 2020年1月5日 下午4:29:08 
 * @version V1.0   
 *
 */
public class UserConvert {
	
	public static User userDtoCreateRequest2User(UserDtoCreateRequest userDtoCreateRequest) {
		User user = new User();
		SpringUtil.copyPropertiesIgnoreNull(userDtoCreateRequest, user);
		return user;
		
	}
}
